package com.cloudweb.oa.api;

import cn.js.fan.util.ErrMsgException;
import com.redmoon.weixin.mgr.WXMessageMgr;

import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;

public interface IWorkWeixinService {

    String setAgent(ServletContext application, HttpServletRequest request) throws ErrMsgException;

    String uploadMedia(String secret, String filePath);

    int sendTextMessage(String userName, String content, String action, WXMessageMgr.MESSAGE_TYPE_ENMU message_enum);

    void disposeCallBack(String contentXml) throws ErrMsgException;
}
